package OnPoint;

import constants.Global;
import controllers.DbController;
import controllers.GUIController;
import controllers.ScheduleController;
import java.io.File;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

public class OnPoint {
    
    public static void main(String[] args) {

        DbController db = new DbController();
        ScheduleController sc = new ScheduleController(db);
        GUIController gui = new GUIController(db, sc);
        validatePaths();
        
    }
       
    private static void validatePaths(){
        
        File f = new File(Global.userImagePath);
        if (!f.exists()) {
            f.mkdir();
        }
        
        f = new File(Global.activityImagePath);
        if (!f.exists()) {
            f.mkdir();
        }
        
        f = new File(Global.activitySoundPath);
        if (!f.exists()) {
            f.mkdir();
        }
                
    }
}
